.online-ordering-container {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.form-card {
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.form-card .ant-card-head {
  background-color: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.form-card .ant-card-head-title {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.save-btn {
  display: flex;
  align-items: center;
}

.check-icon {
  color: #52c41a;
  margin-left: 8px;
  font-size: 16px;
  font-weight: bold;
}

.select-btn, .add-btn, .delete-btn {
  margin: 0 2px;
}

.add-btn {
  background-color: #1890ff;
  border-color: #1890ff;
}

.delete-btn {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
}

.goods-table {
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
}

.goods-table .ant-table-thead > tr > th {
  background-color: #fafafa;
  font-weight: 600;
}

.total-info {
  text-align: right;
  padding: 12px 16px;
  margin-bottom: 16px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
}

.total-info span {
  margin-left: 20px;
  font-weight: 500;
  color: #333;
}

.total-info span:first-child {
  color: #1890ff;
}

.additional-info {
  margin-top: 16px;
}

.size-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
}

.size-container span {
  font-weight: 500;
  color: #333;
}

.submit-btn {
  margin-top: 20px;
  height: 40px;
  font-size: 16px;
  width: 200px;
}

/* 表单字段样式 */
.ant-form-item-label > label {
  font-weight: 500;
  color: #333;
}

.ant-form-item-label > label.ant-form-item-required::before {
  color: #ff4d4f;
}

.ant-input, .ant-select-selector {
  border-radius: 4px !important;
}

.ant-input:hover, .ant-select-selector:hover {
  border-color: #40a9ff !important;
}

.ant-input:focus, .ant-select-selector:focus {
  border-color: #1890ff !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2) !important;
}

/* 保存的订单信息卡片样式 */
.saved-order-card {
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.saved-order-card .ant-card-head {
  background-color: #e6f7ff;
}

.saved-order-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
  color: #1890ff;
}

.saved-order-card p {
  margin: 6px 0;
  font-size: 14px;
  display: flex;
}

.saved-order-card p strong {
  display: inline-block;
  width: 80px;
  margin-right: 8px;
  color: #666;
}

.ant-form-item {
  margin-bottom: 16px;
}

.empty-goods-list {
  padding: 40px 0;
  text-align: center;
  background: #fafafa;
  border-radius: 4px;
  margin-bottom: 16px;
}

.empty-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-placeholder p {
  margin: 16px 0 24px;
  font-size: 16px;
  color: #8c8c8c;
}

.empty-placeholder button {
  padding: 0 24px;
  height: 40px;
  font-size: 16px;
} 